package com.ziq.zcamp.view

import android.content.Context
import android.graphics.Typeface
import net.lucode.hackware.magicindicator.buildins.commonnavigator.titles.SimplePagerTitleView

class OrderPagerTitleView constructor(context: Context?) : SimplePagerTitleView(context) {

    override fun onSelected(index: Int, totalCount: Int) {
        super.onSelected(index, totalCount)
        typeface = Typeface.defaultFromStyle(Typeface.BOLD)
    }

    override fun onDeselected(index: Int, totalCount: Int) {
        super.onDeselected(index, totalCount)
        typeface = Typeface.defaultFromStyle(Typeface.NORMAL)
    }
}